package cn.com.xinjinfu.pdoulcProduct.entity;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by android-adt on 2016/4/10.
 */
public class CommonProblemBean implements Serializable {
    private int code;
    private String msg;
    private MyPdouMap myPdouMap;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public MyPdouMap getMyPdouMap() {
        return myPdouMap;
    }

    public void setMyPdouMap(MyPdouMap myPdouMap) {
        this.myPdouMap = myPdouMap;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "CommonProblemBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", myPdouMap=" + myPdouMap +
                '}';
    }

    public static class MyPdouMap{
        private ArrayList<Lessons> lessons;
        private ArrayList<Questions> questions;

        public ArrayList<Lessons> getLessons() {
            return lessons;
        }

        public void setLessons(ArrayList<Lessons> lessons) {
            this.lessons = lessons;
        }

        public ArrayList<Questions> getQuestions() {
            return questions;
        }

        public void setQuestions(ArrayList<Questions> questions) {
            this.questions = questions;
        }

        @Override
        public String toString() {
            return "MyPdouMap{" +
                    "lessons=" + lessons +
                    ", questions=" + questions +
                    '}';
        }

        public static class Lessons{
            private String linkUrl;
            private String title;

            public String getLinkUrl() {
                return linkUrl;
            }

            public void setLinkUrl(String linkUrl) {
                this.linkUrl = linkUrl;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            @Override
            public String toString() {
                return "Lessons{" +
                        "linkUrl='" + linkUrl + '\'' +
                        ", title='" + title + '\'' +
                        '}';
            }
        }
        public static class Questions{
            private String linkUrl;
            private String title;

            public String getLinkUrl() {
                return linkUrl;
            }

            public void setLinkUrl(String linkUrl) {
                this.linkUrl = linkUrl;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            @Override
            public String toString() {
                return "Questions{" +
                        "linkUrl='" + linkUrl + '\'' +
                        ", title='" + title + '\'' +
                        '}';
            }
        }
    }
}
